{# Twig
// This file should be in UTF8 without BOM - Accents examples: éèê
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr  |
// +----------------------------------------------------------------------+
// | This file is part of PEEL Shopping 7.2.1, which is subject to an	  |
// | opensource GPL license: you are allowed to customize the code		  |
// | for your own needs, but must keep your changes under GPL			  |
// | More information: https://www.peel.fr/lire/licence-gpl-70.html		  |
// +----------------------------------------------------------------------+
// | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/	  |
// +----------------------------------------------------------------------+
// $Id: attributsAdmin_liste.tpl 44077 2015-02-17 10:20:38Z sdelaporte $
#}<table class="full_width">
	<tr><td colspan="6" class="entete">{{ STR_MODULE_ATTRIBUTS_ADMIN_ATTRIBUTE_OPTIONS_LIST }} <strong>{{ nom|html_entity_decode_if_needed }}</strong></td></tr>
	<tr>
		<td colspan="6"><div class="alert alert-info">{{ STR_MODULE_ATTRIBUTS_ADMIN_ATTRIBUTE_OPTIONS_LIST_EXPLAIN }}</div></td>
	</tr>
	<tr>
		<td colspan="6"><img src="{{ add_src|escape('html') }}" width="16" height="16" alt="" class="middle" /><a href="{{ add_href|escape('html') }}">{{ STR_MODULE_ATTRIBUTS_ADMIN_CREATE_OPTION }}</a></td>
	</tr>
	<tr>
		<td class="menu">{{ STR_ADMIN_ACTION }}</td>
		<td class="menu">{{ STR_LIST }}</td>
		<td class="menu">{{ STR_PRICE }}</td>
		<td class="menu">{{ STR_PHOTO }}</td>
		<td class="menu">{{ STR_ADMIN_WEBSITE }}</td>
	</tr>
{% if num_results == 0 %}
	<tr><td colspan="5"><b>{{ STR_MODULE_ATTRIBUTS_ADMIN_NO_OPTION_DEFINED }}</b></td></tr>
{% else %}
	{% for res in results %}
		{{ res.tr_rollover }}
		<td class="center">
			<a data-confirm="{{ STR_ADMIN_DELETE_WARNING|str_form_value }}" href="{{ res.drop_href|escape('html') }}"><img src="{{ res.drop_src|escape('html') }}" alt="{{ STR_DELETE|str_form_value }}" /></a>
		</td>
		<td class="center">
			<a title="{{ STR_MODIFY|str_form_value }}" href="{{ res.edit_href|escape('html') }}">{{ res.descriptif|html_entity_decode_if_needed }}</a>
		</td>
		<td class="center">{{ res.prix }} {{ STR_TTC }}</td>
		<td class="center">{% if (res.img_src) %}<img src="{{ res.img_src|escape('html') }}" alt="" />{% endif %}</td>
		<td class="center">{{ res.site_name|html_entity_decode_if_needed }}</td>
	</tr>
	{% endfor %}
{% endif %}
</table>